//
//  AppDelegate.m
//  DHWeibo
//
//  Created by donghai on 15/12/6.
//  Copyright © 2015年 东海. All rights reserved.
//

#import "AppDelegate.h"
#import "DHTabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    //1，创建窗口
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    //2，设置窗口的跟控制器
    DHTabBarController *tabBarContr = [[DHTabBarController alloc] init];
    self.window.rootViewController = tabBarContr;
    //3，设置为主窗口并可视
    [self.window makeKeyAndVisible];
    return YES;
}

@end
